<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/top.css" rel="stylesheet" type="text/css" />
<title>Insert title here</title>
</head>
<body>
<div id="top">
		<div id="topbar">
			<div class="w">
				<div class="bar_left">
					<b> 广安</b>
					<p class="ipconfig">
						[<a href="">首页</a>]
					</p>
					<p class="gap">|</p>
					<c:choose>
     					<c:when test="${!empty sessionScope.user}">
	 					<p class="login"> 
						<a href="" target='_parent'>${sessionScope.user.userId}</a><span class="gap">|</span><a href="">我的分类信息</a><span class="gap">|</span><a href="" target='_parent'>注销</a>
						</p>
						</c:when>
     					<c:otherwise>
            			<p class="login">
						<a href="<%=request.getContextPath() %>/user/user!initLog.do" target='_parent'>登录</a><span
							class="gap">|</span><a href="<%=request.getContextPath() %>/user/user!initReg.do"
							target='_parent'>注册</a>
						</p>
               			</c:otherwise>
  					</c:choose>			
				</div>
				<div class="bar_right">
					<p>
						<i class="phone"></i>010-59693999 13801368147
					</p>
					<p>
						<i class="qq"></i>1371866134 648237967
					</p>
				</div>
			</div>
		</div>
	</div>

</body>
</html>